package com.lemon.components.wechart.order.user;

import com.lemon.components.common.order.ValidateOrderBase;

public class RefreshUserTokenOrder extends ValidateOrderBase {
	
	private static final long serialVersionUID = -5797872264259583680L;
	private String appid;
	private String grantType = "refresh_token";
	private String refreshToken;
	@Override
	public void check() {
		validateHasText(appid, "appid不能为空");
		validateHasText(grantType, "grantType不能为空");
		validateHasText(refreshToken, "refreshToken不能为空");
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getGrantType() {
		return grantType;
	}
	public String getRefreshToken() {
		return refreshToken;
	}
	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}
	@Override
	public String toString() {
		return "RefreshUserTokenOrder [appid=" + appid + ", grantType=" + grantType + ", refreshToken=" + refreshToken + ", toString()=" + super.toString() + "]";
	}
	

}
